/*jshint esversion: 9 */
import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import '@/styles/index.scss'; // global css
import Vant, {
    Dialog,
    Notify,
    Uploader,
} from 'vant';
import 'vant/lib/index.css';
import '@/icons'; //icon
Vue.use(Vant);
Vue.use(Dialog);
Vue.use(Notify);
Vue.use(Uploader);
//引入cssvar
import '@/common/CssVar';
//引入Api，const
import {Api,Const} from "@/common/http";
Vue.prototype.$Api = Api;
Vue.prototype.$Const = Const;
//引入公共组件
import ScrollElCp from "@/components/public/ScrollEl";
Vue.component('ScrollElCp',ScrollElCp);

Vue.config.productionTip = false;

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount('#app');